package com.baofu.paycore.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * redis key 枚举
 * <p>
 *     1、产品退款策略redis key
 * </p>
 * User: kwl Date: 2016/6/6 ProjectName: paycore Version: 5.0.0
 */
@Getter
@AllArgsConstructor
public enum RedisKeyEnum {

    REFUND_PRODUCT_STRATEGY("PAYCORE:REFUND:PRODUCT:STRATEGY_KEY:","产品退款策略redis key"),

    PAY_SERVICE("PAYCORE:PAY_SERVICE:","支付订单redis key"),

    PAY_PRE_AUTH_SERVICE("PAYCORE:PRE_AUTH_SERVICE:", "预授权订单redis key"),

    PAY_PRE_AUTH_CANCEL_SERVICE("PAYCORE:PAY_PRE_AUTH_CANCEL_SERVICE:", "预授权撤销订单redis key"),

    PAY_ACC_RETRY("PAYCORE:ACC_RETRY:", "支付账务重试redis key"),

    PAY_ACC_UNFREEZE("PAYCORE:ACC_UNFREEZE:", "支付账务解冻redis key"),

    CLEAR_TIME_OUT("PAYCORE:CLEAR_TIME_OUT:", "清分超时重试redis key"),

    WITHDRAW_FREEZE_CODE("PAYCORE:WITHDRAW:FREEZE:CODE:", "提现冻结码redis key"),

    CALL_BACK("PAYCORE:CALLBACK:","清分回调redis key");

    private String code;

    private String desc;
}
